package com.yixing.tech.wms;

import lombok.extern.slf4j.Slf4j;
//import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.mongodb.config.EnableMongoAuditing;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * WmsApp
 *
 * @author yixing tech
 * @since 1.0.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
@EnableMongoAuditing
@EnableAsync
@EnableScheduling
@Slf4j
//@MapperScan({"com.yixing.tech.wms.stock.out.report.mes.mapper", "com.yixing.tech.wms.statistics.mapper"})
public class WmsApp {

    public static void main(String[] args) {
        SpringApplication.run(WmsApp.class, args);
        log.info("--------------WMS server started----------------");
    }

}
